#include "Time/Timer.h"


Timer::Timer()
{
	m_lastUpdatetime = ::timeGetTime();
	m_currentTime = m_lastUpdatetime;
}

const int Timer::calcElapsedMs()
{
	m_currentTime = ::timeGetTime();
	return m_currentTime - m_lastUpdatetime;
}

void Timer::reset()
{
	m_currentTime = m_lastUpdatetime;
}
